﻿using System;
using System.Collections.Generic;
using System.Text;

namespace kxjsj.Model
{
    class Unit : IComparable<Unit>
    {
        public Unit() { }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 排名
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 所在地
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 移动电话
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 通讯地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string Zip { get; set; }

        /// <summary>
        /// 对本项目研究、推广应用等的贡献：
        /// </summary>
        public string Contribution { get; set; }

        public int CompareTo(Unit other)
        {
            return this.Order - other.Order;
        }
    }
}
